X-Ray Machine

Properties

Name Type Description
LastScreeningResult Integer Gets the last screening result
Color String New in V7.0. Gets/Sets the name of the color of the equipment
Visible Boolean New in V7.0. Gets/Sets the visibility of the equipment

 

Screening Result values

Value Meaning
0 No Data
1 Cleared
2 Rejected
3 Timeout
4 Skipped
5 Threat

 

Events

OnScreeningStarted

Invoked when the x-ray machine begins screening product

Note: This event does not support multiple subscription. Previous subscription will be lost if subscribe twice.

Callback Signature

void xxxxxxxxxxxxxxxxx (sender: object, product: Product);

 

Parameter Name Type Description
sender Object The object associated with the changed property
product Product The product that is about to be screened

OnScreeningComplete

Invoked when the x-ray machine completes screening product

Note: This event does not support multiple subscription. Previous subscription will be lost if subscribe twice.

Callback Signature

void xxxxxxxxxxxxxxxxx (sender: object, product: Product, level: integer, result: integer);

 

Parameter Name Type Description
sender Object The object associated with the changed property
product Product The product the completion is associated with
level Integer The screening level
result Integer The result, see previous definition of ‘Screening Result’